Functional programming in XSLT using the FXSL library
نویسنده
چکیده
Described is the implementation in XSLT of some major functional programming design patterns: • Higher-order functions (HOF) • Recursive iteration • Primitive recursion (folding) over lists and trees • Mapping of lists • Functional composition • Partial application and currying • Dynamic creation of a new function The author argues that using a functional programming library that supports these design patterns in XSLT makes programming easier and more effective by increasing the level of abstraction and code reuse. Functional programming in XSLT using the FXSL library Table of
منابع مشابه
Exploiting Sequential Libraries on a Cluster of Computers
In this paper, a methodology to exploit legacy sequential libraries on a multicomputer is shown. The process of integrating such libraries is exposed as a slave pool design pattern. The proposed solution is implemented using the concurrent functional programming language Erlang, and it has been applied to extend a C++ sequential XSLT library to perform clustered XSLT processing on a Beowulf, wh...
متن کاملTransforming XML Documents using fxt
As XML spreads to various application domains, transformation tasks on XML documents are accomplished by an ever increasing number of non-programmers. In this respect, rather than providing just a collection of basic operations via a library in a special purpose language, it is useful to provide a more intuitive, rule-based approach to XML transformation. The rule-based approach requires patter...
متن کاملA Simple and Efficient Step Towards Type-Correct XSLT Transformations
XSLT 1.0 is a standardized functional programming language and widely used for defining transformations on XML models and documents, in many areas of industry and publishing. The problem of XSLT type checking is to verify that a given transformation, when applied to an input which conforms to a given structure definition, e.g. an XML DTD, will always produce an output which adheres to a second ...
متن کاملImproved evolutionary generation of XSLT stylesheets
This paper introduces a procedure based on genetic programming to evolve XSLT programs (usually called stylesheets or logicsheets). XSLT is a general purpose, document-oriented functional language, generally used to transform XML documents (or, in general, solve any problem that can be coded as an XML document). The proposed solution uses a tree representation for the stylesheets as well as div...
متن کاملEvolving XSLT stylesheets
This paper introduces a procedure based on genetic programming to evolve XSLT programs (usually called stylesheets or logicsheets). XSLT is a general purpose, document-oriented functional language, generally used to transform XML documents (or, in general, solve any problem that can be coded as an XML document). The proposed solution uses a tree representation for the stylesheets as well as div...
متن کامل